﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="DangKy.aspx.cs" Inherits="DangKy" Title="Untitled Page" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
    .style3
    {
        height: 33px;
    }
        .style6
        {
            height: 31px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style3">
    <tr>
        <td colspan="4">
            <img alt="" src="HinhGiaoDienWeb/0.PNG" style="width: 10px; height: 10px" /></td>
    </tr>
    <tr>
        <td>
            <img alt="" src="HinhGiaoDienWeb/0.PNG" style="width: 10px; height: 10px" /></td>
        <td align="left" valign="top" width="67px">
            <img alt="" src="HinhGiaoDienWeb/Sao.gif" style="width: 66px; height: 61px" /></td>
        <td align="left" valign="top">
            <img alt="" src="HinhGiaoDienWeb/DangKy.png" 
                style="width: 247px; height: 62px" /></td>
        <td align="right" valign="top" width="11px">
            <img alt="" src="HinhGiaoDienWeb/0.PNG" style="width: 10px; height: 10px" /></td>
    </tr>
</table>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" 
        CompleteSuccessText="Tài khoản đã tồn tại. Xin mời bạn đăng nhập!" 
        ContinueButtonImageUrl="~/HinhGiaoDienWeb/0.PNG" ContinueButtonText="" 
        ContinueButtonType="Image" Font-Bold="True" Font-Size="Large" 
        ForeColor="#00CCFF">
    <WizardSteps>
        <asp:CreateUserWizardStep runat="server">
            <ContentTemplate>
                <table border="0">
                    <tr>
                        <td align="center" colspan="2" class="style6">
                            </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName" 
                                Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF">Tên đăng nhập:</asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="UserName" runat="server" BackColor="#FCF8FD" 
                                BorderStyle="Dotted" Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" 
                                ControlToValidate="UserName" ErrorMessage="User Name is required." 
                                ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">Mật khẩu:</asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="Password" runat="server" BackColor="#FCF8FD" 
                                BorderStyle="Dotted" Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF" 
                                TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" 
                                ControlToValidate="Password" ErrorMessage="Password is required." 
                                ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="ConfirmPasswordLabel" runat="server" 
                                AssociatedControlID="ConfirmPassword" Font-Bold="True" Font-Size="Large" 
                                ForeColor="#00CCFF">Xác nhận mật khẩu: </asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="ConfirmPassword" runat="server" BackColor="#FCF8FD" 
                                BorderStyle="Dotted" Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF" 
                                TextMode="Password"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" 
                                ControlToValidate="ConfirmPassword" 
                                ErrorMessage="Confirm Password is required." 
                                ToolTip="Confirm Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email" 
                                Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF">E-mail: </asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="Email" runat="server" BackColor="#FCF8FD" BorderStyle="Dotted" 
                                Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="EmailRequired" runat="server" 
                                ControlToValidate="Email" ErrorMessage="E-mail is required." 
                                ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question" 
                                Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF">Câu hỏi bảo mật:</asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="Question" runat="server" BackColor="#FCF8FD" 
                                BorderStyle="Dotted" Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" 
                                ControlToValidate="Question" ErrorMessage="Security question is required." 
                                ToolTip="Security question is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="right">
                            <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer" 
                                Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF">Câu trả lời:
                            </asp:Label>
                        </td>
                        <td align="left">
                            <asp:TextBox ID="Answer" runat="server" BackColor="#FCF8FD" 
                                BorderStyle="Dotted" Font-Bold="True" Font-Size="Large" ForeColor="#00CCFF"></asp:TextBox>
                            <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" 
                                ControlToValidate="Answer" ErrorMessage="Security answer is required." 
                                ToolTip="Security answer is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2">
                            <asp:CompareValidator ID="PasswordCompare" runat="server" 
                                ControlToCompare="Password" ControlToValidate="ConfirmPassword" 
                                Display="Dynamic" 
                                ErrorMessage="&quot;Mật khẩu&quot; và &quot;Xác nhận mật khẩu&quot; không khớp nhau. Vui lòng nhập lại!" 
                                ValidationGroup="CreateUserWizard1"></asp:CompareValidator>
                        </td>
                    </tr>
                    <tr>
                        <td align="center" colspan="2" style="color: Red;">
                            <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
                        </td>
                    </tr>
                </table>
            </ContentTemplate>
        </asp:CreateUserWizardStep>
        <asp:CompleteWizardStep runat="server" />
    </WizardSteps>
</asp:CreateUserWizard>
</asp:Content>

